package com.eii.usercenter.service;

import com.eii.common.model.auth.SysMenu;
import com.eii.db.service.ISuperService;
import com.eii.usercenter.model.SysRoleMenu;

import java.util.List;
import java.util.Set;

public interface ISysRoleMenuService extends ISuperService<SysRoleMenu> {
	int save(Long roleId, Long menuId);

	int delete(Long roleId, Long menuId);

	List<SysMenu> findMenusByRoleIds(Set<Long> roleIds, Integer type);

	List<SysMenu> findMenusByRoleCodes(Set<String> roleCodes, Integer type);
}
